his function returns whether a path with the given index exists or not. Note that if you check for the existence of a path through a variable that has yet to have been declared, this will throw an error.
path_exists(index);
| Argument | Description |
|---|---|
| index | The index of the path to check for. |
Boolean
if path_exists(path0)
{
path_start(path0, 4, path_action_reverse,
0);
}
This will start path0, if it exists.